//using System;
//using System.Collections.Generic;
//using System.Linq;
//using UnityEngine;

//namespace PK.InAppPurchase
//{
//	[Serializable]
//	public class StoreProducts : ScriptableObject
//	{
//		[SerializeField]
//		private StoreProduct[] _storeProductArray;

//		private Dictionary<string, StoreProduct> _storeProductLookup;

//		public StoreProduct[] StoreProductArray => _storeProductArray;

//		public Dictionary<string, StoreProduct> StoreProductDictionary
//		{
//			get
//			{
//				if (_storeProductLookup == null)
//				{
//					_storeProductLookup = _storeProductArray.ToDictionary((StoreProduct storeProduct) => storeProduct.StoreId, (StoreProduct storeProduct) => storeProduct);
//				}
//				return _storeProductLookup;
//			}
//		}
//	}
//}
